//
//  GyroPaddleAppDelegate.m
//  GyroPaddle
//
//  Created by Signature on 7/29/09.
//  Copyright __MyCompanyName__ 2009. All rights reserved.
//

#import "GyroPaddleAppDelegate.h"
#import "AppViewController.h"

@implementation GyroPaddleAppDelegate

@synthesize window;
@synthesize appViewController;


- (void)applicationDidFinishLaunching:(UIApplication *)application {    
	NSLog(@" >> applicationDidFinishLaunching <<");
	
	AppViewController *aViewCtrl = [[AppViewController alloc] initWithNibName:@"AppViewController" bundle:[NSBundle mainBundle]];
	[self setAppViewController:aViewCtrl];
	[aViewCtrl release];
	
	UIView *ctrlView = [appViewController view];
	[window addSubview:ctrlView];
	
    // Override point for customization after application launch
    [window makeKeyAndVisible];
}


- (void)dealloc {
	
	[appViewController release];
	
    [window release];
    [super dealloc];
}


@end
